import { Controller, Get, HostParam } from '@nestjs/common';
// 子域名带token，即account可变，如果写死是admin，即进入admin.example.com
@Controller({ host: ':acount.example.con' })
export class AccountController {
	@Get()
	getInfo(@HostParam('account') account): string{
		return account
	}
}
